From 5a04c93500d58e4026dbe179d641dedd9ce21b1e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 29 Mar 2011 16:34:01 +0100 Subject: [PATCH] spinlock: Define check_barrier() for non-debug build, fixes build. Signed-off-by: Keir Fraser --- xen/common/spinlock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/spinlock.c b/xen/common/spinlock.c index 6ca780bce6..aec9ebf6b7 100644 --- a/xen/common/spinlock.c +++ b/xen/common/spinlock.c @@ -80,6 +80,7 @@ void spin_debug_disable(void) #else /* defined(NDEBUG) */ #define check_lock(l) ((void)0) +#define check_barrier(l) ((void)0) #endif -- 2.30.2